<template>
<view @tap="handleTap">
  <view class="my-class">
    <slot name="img1"></slot>
    <view>{{title}}</view>
    <slot name="input"></slot>
    <slot name="icon" style="position:absolute; right:0px;"></slot>
  </view>
  
</view>
</template>

<script>

export default {
  data() {
    return {};
  },

  components: {},
  props: {
    //这里是标题
    title: {
      type: String
    },
    img: {
      type: String
    },
    icon: {
      type: Boolean
    }
  },
  options: {
    multipleSlots: true // 在组件定义时的选项中启用多slot支持

  },
  externalClasses: ['my-class', 'list-cell-input', 'list-cell'],
  created: function () {
    console.log(11);
  },
  methods: {}
};
</script>
<style>
@import "./mycell.css";
</style>